import { ActionType } from "../reducer/todo";

export const delByIdAction = (id: number): ActionType => ({
  type: 'todo/delById',
  payload: id
})

// 2. 封装Action创建函数
export const clearDoneAction = (): ActionType => ({ type: 'todo/clearDone' });

